package com.parkingspace.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 评价表
 * </p>
 *
 * @author Gapper
 * @since 2021-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Appraise implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
      @TableId(value = "appraise_id", type = IdType.ASSIGN_ID)
    private Long appraiseId;

    /**
     * 用户ID
     */
    private Long uid;

    /**
     * 订单ID
     */
    private Long ordereid;

    /**
     * 评价类型(0为好评，1为中评，2为差评)
     */
    private Integer evaluate;

    /**
     * 车位地址
     */
    private String parkingAddress;

    /**
     * 评价内容
     */
    @TableField("`describe`")
    private String describe;


}
